const data = [
  {
    id: 2,
    pid: 0,
    name: 'Course',
    title: '课程管理',
    path: '/course'
  },
  {
    id: 3,
    pid: 2,
    name: 'CourseOperate',
    title: '课程操作',
    path: 'opertate',
    link: '/course/opertate'
  },
  {
    id: 4,
    pid: 3,
    name: 'CourseInfoData',
    title: '课程数据',
    path: 'info_data',
    link: '/course/opertate/info_data'
  },
  {
    id: 5,
    pid: 2,
    name: 'CourseAdd',
    title: '课程添加',
    path: 'add',
    link: '/course/add'
  },
  {
    id: 6,
    pid: 0,
    name: 'student',
    title: '学生管理',
    path: '/student'
  },
  {
    id: 7,
    pid: 6,
    name: 'StudentOpertate',
    title: '学生操作',
    path: 'opertate',
    link: '/student/opertate'
  },
  {
    id: 8,
    pid: 6,
    name: 'StudentAdd',
    title: '学生添加',
    path: 'add',
    link: '/student/add'
  },
];